import request from '@/utils/request';


export function clueListData(url: string, data: any,method: string = "get") {
    return request({
        url: url,
        headers: {
            isToken: true,
        },
        method: method,
        data: data,//参数在请求体中
        
    });
}
export function getData(url: string, data: any,method: string = "get") {
    return request({
        url: url,
        headers: {
            isToken: true,
        },
        method: method,
        params: data,//请求参数在URL中
        
    });
}